package com.itfitness.nervecat.beans;

/**
 * @ProjectName: NerveCat
 * @Package: com.itfitness.nervecat.beans
 * @ClassName: Dot
 * @Description: java类作用描述 ：
 * @Author: 作者名：lml
 * @CreateDate: 2019/4/8 11:17
 * @UpdateUser: 更新者：
 * @UpdateDate: 2019/4/8 11:17
 * @UpdateRemark: 更新说明：
 * @Version: 1.0
 */

public class Dot {
    private int x,y;//点坐标
    private int status;//状态
    public static final int STATUS_ON = 1;//点开
    public static final int STATUS_OFF = 0;//关闭
    public static final int STATUS_IN = 2;//神经猫所在的点的状态
    public Dot(int x, int y) {
        this.x = x;
        this.y = y;
    }

    public int getX() {
        return x;
    }

    public void setX(int x) {
        this.x = x;
    }

    public int getY() {
        return y;
    }

    public void setY(int y) {
        this.y = y;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }
    public void setXY(int x,int y){
        this.x = x;
        this.y = y;
    }
}
